{include file="public/header" /}
<style>
    .index-list li{
        width: 100% !important;
    }
    .index-list .multi {
        line-height: 2.25rem;
    }
    .licontent{
       padding: 0px !important; 
       margin-top: 5px;
    }
    .layui-flow-more{
        margin-top: 60px !important;
    }
</style>
<body class="bgc hide-top">
    <div class="header">
        <i class="layui-icon layui-icon-left"></i>释放记录
    </div>
<div class="tpl_list" style=" margin-top: 40px;"></div>

<script id="template" type="text/html">
    {{# if(d.data.length > 0){ }}
    <ul class="index-list">
        {{# for(var i = 0; i < d.data.length; i++){ }}
        <li>
            <a>
                <div>
                    <p class="price">金额：￥<span>{{d.data[i].price}}</span></p>
                    <div class="licontent">
                        <span>收益周期：{{d.data[i].day}} 天</span>
                    </div>
                    <div class="licontent">
                        <span>收益率：{{d.data[i].sytitle}} %</span>
                    </div>
                    <div class="licontent">
                        <span>状态：{{d.data[i].status_name}}</span>
                    </div>
                    
                    <div class="licontent">
                        <span>支付时间：{{d.data[i].pay_time}}</span>
                    </div>
                    {{# if(d.data[i].status == 2) { }}
                    <div class="licontent" >
                        <span>收益时间：{{d.data[i].free_time}}</span>
                    </div>
                    {{# } }}
                </div>
            </a>
        </li>
        {{# } }}
    </ul>
    {{# }else { }}
    <div class="pro-list-data">
        <img src="/static/index/img/icon44.png" alt="">
        <p>暂无搜索结果</p>
    </div>
    {{# } }}
</script>

</body>
{include file="public/footer"/}
<script>
    $(function () {
        var end = '{$keyword?:""}' ? '没有更多了' : '没有更多了';
        getFlow(1, "{:url('packet/mygGetList')}", 'template', end);

        $(".search_bt").click(function () {
            var keyword = $(".keyword").val();
            /*if (!keyword) {
                layer.msg('请填写要搜索的内容');
                return false;
            }*/
            $(".tpl_list").empty();
            getFlow(1, "{:url('packet/mygGetList')}", 'template', end);
        });
    })
</script>
</html>